@echo off

cd %0\..\

del /f /q version_decl.pri
type version_prefix.txt version_major.txt dot.txt version_minor.txt dot.txt > version_decl.pri
svnversion -n >> version_decl.pri

del /f /q version_major.inl
type quot.txt version_major.txt quot.txt > version_major.inl

del /f /q version_minor.inl
type quot.txt version_minor.txt quot.txt > version_minor.inl

del /f /q revision.inl
type quot.txt > revision.inl
svnversion -n >> revision.inl
type quot.txt >> revision.inl

touch.bat main.cpp main.cpp.tmp1 main.cpp.tmp2
